package exam03printNum;

/*
同时开启两个线程，
共同获取1-100之间的所有数字要求:
将输出所有的奇数
* */
public class ThreadDemo {
    public static void main(String[] args) {
        MyThread.num = 0;
        MyThread window1 = new MyThread("小明");
        MyThread window2 = new MyThread("小红");

        window1.start();
        window2.start();
    }



}
